package com.eos.cto;

import java.util.List;

/**
 * 自动发布对象
 * @author guosc
 * @Email guosc@gillion.com.cn
 * @date 2022/9/6
 * @time 10:57
 * @description:
 */
public class AutomaticDeployDTO {
    /**
     * 任务编码
     */
    private List<TaskInfoDTO> taskInfos;
    /**
     * 模块编码
     */
    private String moduleCode;

    /**
     * 分支
     */
    private String branch;

    /**
     * 版本号
     */
    private String versionName;

    /**
     * 提交id
     */
    private String commitId;

    @Override
    public String toString() {
        return "AutomaticDeployDTO{" +
                "taskInfos=" + taskInfos +
                ", moduleCode='" + moduleCode + '\'' +
                ", branch='" + branch + '\'' +
                ", versionName='" + versionName + '\'' +
                ", commitId='" + commitId + '\'' +
                '}';
    }

    public List<TaskInfoDTO> getTaskInfos() {
        return taskInfos;
    }

    public void setTaskInfos(List<TaskInfoDTO> taskInfos) {
        this.taskInfos = taskInfos;
    }

    public String getModuleCode() {
        return moduleCode;
    }

    public void setModuleCode(String moduleCode) {
        this.moduleCode = moduleCode;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getCommitId() {
        return commitId;
    }

    public void setCommitId(String commitId) {
        this.commitId = commitId;
    }
}
